package com.UnionPayCenter.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.UnionPayCenter.base.MyMapper;
import com.UnionPayCenter.entity.CardInfo;
import com.UnionPayCenter.entity.vo.CardInfoVo;

@Repository
@Mapper
public interface CardInfoMapper extends MyMapper<CardInfo> {

    CardInfoVo selectCardInfoByUserId(@Param("userId") Integer userId);

    CardInfoVo selectCardInfoByCardId(@Param("cardId") String cardId);
}
